﻿
@echo off
if "%1" == "" goto:help
if "%2" == "" goto:help
storclient -host %1 -port %2 -list -o alllist.%1.%2.txt
storclient -host %1 -port %2 -read -i alllist.%1.%2.txt -o temp.txt
del alllist.%1.%2.txt
del temp.txt
goto:EOF

:help
echo readall.cmd [host] [port]
